package com.projecy.product.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.projecy.product.dto.ProductDto;
import com.projecy.product.mapper.ProductFileMapper;
import com.projecy.product.model.ProductFile;
import com.projecy.product.service.ProductFileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("productFileService")
public class ProductFileServiceImpl extends ServiceImpl<ProductFileMapper, ProductFile> implements ProductFileService {
    @Autowired
    private ProductFileMapper productFileMapper;
    @Override
    public Boolean saveProductFile(ProductDto productDto) {
        return productFileMapper.insertProductFile(productDto);
    }
}
